package com.huatai.paas.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huatai.paas.dto.ItemModelMessage;
import com.huatai.paas.dto.UploadFileMessage;
import com.huatai.paas.dto.info.QueryFileListInfo;

import java.util.List;

public interface UploadFileMessageService extends IService<UploadFileMessage> {
	List<UploadFileMessage> queryFileMessage();

	List<UploadFileMessage> queryFileMessageByFileId(List<ItemModelMessage> itemModelMessageList);

	IPage<QueryFileListInfo> queryFileList(Integer pageNum, Integer pageSize, String fileType);

	boolean deleteFileById(Long id);

	boolean checkFileData(String md5Data, String fileType);
}
